<%@ Page Title="" Language="C#" MasterPageFile="~/WebSite.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="History_Default" %>

<%@ Register Assembly="Ornament.Web.Core" Namespace="Ornament.Web.UI" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .dateSelector
        {
            margin-left: 10px;
            float: left;
            width: 250px;
            border-right: solid 1px #B4936D;
            height: 551px;
        }
        .infoListPanel
        {
            float: left;
            margin-left: 10px;
            width: 600px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="Server">
    <div class="dateSelector">
        <cc1:ChinaCalendar ID="ChineseCalender1" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66" OnVisibleMonthChanged="OnVisibleMonthChanged"
            BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
            ForeColor="#663399" Height="218px" ShowGridLines="True" Width="247px">
            <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
            <SelectorStyle BackColor="#FFCC66" />
            <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
            <OtherMonthDayStyle ForeColor="#CC9966" />
            <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
            <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
            <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
        </cc1:ChinaCalendar>      
    </div>
    <div class="infoListPanel">
        <ul class="infoListWithComment">
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <li><a id="linerk1" runat="server" href='<%#String.Format(ResolveUrl("~/Crimson/Default.aspx?id={0}"),Eval("ID")) %>'>
                        <%#Eval("Title") %>
                    </a></li>
                    </li>
                    <div id="comment">
                        <%#Eval("Comment") %>
                    </div>
                </ItemTemplate>                
            </asp:Repeater>
        </ul>
    </div>
</asp:Content>
